package zsz;

import java.util.Date;

public class TimeStamped extends Decorator {

    private final long timeStamped;

    public TimeStamped(Basic basic) {
        super(basic);
        timeStamped = new Date().getTime();
    }

    public long getStamped(){
        return timeStamped;
    }
}
